/// <reference path="../../libs/typedMVVM/include/win.ts" />
/// <reference path="../../viewModels/ViewModelFactory.ts" />
/// <reference path="../../services/SampleService.ts" />
var TypedMVVM;
(function (TypedMVVM) {
    var Samples;
    (function (Samples) {
        var Views;
        (function (Views) {
            "use strict";
            var HomeView = (function () {
                function HomeView() {
                    this.ready = function (element, options) {
                        // Initialize the page here.
                        var viewModel = Samples.ViewModels.ViewModelFactory.homeViewModel;
                        WinJS.Binding.processAll(element, viewModel, false, null, null);
                        viewModel.loadData();
                    };
                }
                return HomeView;
            })();
            WinJS.UI.Pages.define("/views/home/HomeView.html", new HomeView());
        })(Views = Samples.Views || (Samples.Views = {}));
    })(Samples = TypedMVVM.Samples || (TypedMVVM.Samples = {}));
})(TypedMVVM || (TypedMVVM = {}));
//# sourceMappingURL=HomeView.js.map